package com.defangit.applicant.domain;

import java.util.List;

public class TicketType {
    private int id;
    private String ticketName;
    private int allowedTickets;
    private int maxLength;
//    private List<Ticket> tickets;
    private Enroll enroll;

    public int getId() {
        return id;
    }

    public TicketType setId(int id) {
        this.id = id;
        return this;
    }

    public String getTicketName() {
        return ticketName;
    }

    public TicketType setTicketName(String ticketName) {
        this.ticketName = ticketName;
        return this;
    }

    public int getAllowedTickets() {
        return allowedTickets;
    }

    public TicketType setAllowedTickets(int allowedTickets) {
        this.allowedTickets = allowedTickets;
        return this;
    }

    public int getMaxLength() {
        return maxLength;
    }

    public TicketType setMaxLength(int maxLength) {
        this.maxLength = maxLength;
        return this;
    }

//    public List<Ticket> getTickets() {
//        return tickets;
//    }
//
//    public TicketType setTickets(List<Ticket> tickets) {
//        this.tickets = tickets;
//        return this;
//    }

    public Enroll getEnroll() {
        return enroll;
    }

    public TicketType setEnroll(Enroll enroll) {
        this.enroll = enroll;
        return this;
    }
//    public TicketType addTicket(Ticket ticket){
//        this.tickets.add(ticket);
//        return this;
//    }
}
